package cn.bsuc.infirmary.service;


import cn.bsuc.infirmary.domain.Systemdictionary;
import cn.bsuc.infirmary.domain.Systemdictionaryitem;
import cn.bsuc.infirmary.query.QueryObject;
import cn.bsuc.infirmary.query.SystemDictionaryItemQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemdictionaryService {
    void saveOrUpdate(Systemdictionary s);

    void delete(Long id);

    Systemdictionary selectOne(Long id);

    List<Systemdictionary> selectList();

    PageInfo<Systemdictionary> selectQueryObject(QueryObject qo);

    void saveOrUpdateItem(Systemdictionaryitem s);

    void deleteItem(Long id);

    Systemdictionaryitem selectOneItem(Long id);

    List<Systemdictionaryitem> selectListItem();

    PageInfo<Systemdictionaryitem> selectQueryObjectItem(SystemDictionaryItemQueryObject qo);

    List<Systemdictionaryitem> selectBySn(String sn);
}
